package campus.service;

import campus.model.Cash;
import campus.model.CashExample;
import campus.util.PageResult;

import java.util.List;

/**
     * @Author M
     * @name 现金日记账接口
     * @Date 21:41 2020/5/10
 **/
public interface CashService {

    /**
         * @Author M
         * @name 列表
         * @Date 21:40 2020/5/10
     **/
    List<Cash> selectByExample(CashExample example);

  /**
       * @Author M
       * @name 现金日记账分页
       * @Date 21:40 2020/5/10
   **/
   
    PageResult findByAllPageSize(Cash cash, int pageNum, int pageSize);

    PageResult findByAllPageSize2(Cash cash, int pageNum, int pageSize);

    /**
     * @Author M
     * @name 现金日记账主键删除
     * @Date 20:38 2020/5/9
     **/
    int deleteByPrimaryKey(Integer cId);

    /**
         * @Author M
         * @name 现金日记账批量删除
         * @Date 21:41 2020/5/10
     **/
    int plscs(int[] ids);

}
